package DesignPatern.A22_享元模式.A02_抽象模式;

/**
 * @Author: Du
 * @Date: 2021/8/12 14:51
 */
public abstract class FlyWeight
{
    private String intrinsic;
    protected final String Extrinsic;
    
    public FlyWeight(String Extrinsic)
    {
        this.Extrinsic = Extrinsic;
    }
    
    public abstract void operate(int Extrinsic);
    
    public String getIntrinsic()
    {
        return intrinsic;
    }
    
    public void setIntrinsic(String intrinsic)
    {
        this.intrinsic = intrinsic;
    }
}
